package id.net.iconpln.bb.client.model.secman;

import java.io.Serializable;
import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModel;

public class MasterUserBean extends BaseModel implements Serializable {

	String id_user;
	String unit;
	String nama_user;
	String password;
	String level_user;
	String alamat;
	String no_nip;
	String telp;
	String email;
	String createby;
	Date   createdate;
	String updateby;
	Date   updatedate;
	String app_access;
	String nama_panjang;

	
	public MasterUserBean() {}
	public MasterUserBean(String id_user, String unit, String nama_user, String password,
			String level_user, String alamat, String no_nip, String telp, String email,
			String createby, Date createdate, String updateby, Date updatedate, String app_access,
			String nama_panjang)
	{
		setIdUser(id_user);
		setUnit(unit);
		setNamaUser(nama_user);
		setPassword(password);
		setLevelUser(level_user);
		setAlamat(alamat);
		setNoNip(no_nip);
		setTelp(telp);
		setEmail(email);
		setCreateBy(createby);
		setCreateDate(createdate);
		setUpdateBy(updateby);
		setUpdateDate(updatedate);
		setAppAccess(app_access);
		setNamaPanjang(nama_panjang);
	}
	
	public String getIdUser()
	{
		return (String) get("id_user");
	}
	public void setIdUser(String id_user)
	{
		set("id_user", id_user);
	}
	
	public String getUnit()
	{
		return (String) get("unit");
	}
	public void setUnit(String unit)
	{
		set("unit", unit);
	}

	public String getNamaUser()
	{
		return (String) get("nama_user");
	}
	public void setNamaUser(String nama_user)
	{
		set("nama_user", nama_user);
	}
	
	public String getPassword()
	{
		return (String) get("password");
	}
	public void setPassword(String password)
	{
		set("password",password);
	}

	public String getLevelUser()
	{
		return (String) get("level_user");
	}
	public void setLevelUser(String level_user)
	{
		set("level_user", level_user);
	}

	public String getAlamat()
	{
		return (String) get("alamat");
	}
	public void setAlamat(String alamat)
	{
		set("alamat", alamat);
	}	

	public String getNoNip()
	{
		return (String) get("no_nip");
	}
	public void setNoNip(String no_nip)
	{
		set("no_nip", no_nip);
	}	

	public String getTelp()
	{
		return (String) get("telp");
	}
	public void setTelp(String telp)
	{
		set("telp", telp);
	}	

	public String getEmail()
	{
		return (String) get("email");
	}
	public void setEmail(String email)
	{
		set("email", email);
	}	

	public String getCreateBy()
	{
		return (String) get("createby");
	}
	public void setCreateBy(String createby)
	{
		set("createby", createby);
	}

	public Date getCreateDate()
	{
		return (Date) get("createdate");
	}
	public void setCreateDate(Date createdate)
	{
		set("createdate", createdate);
	}

	public String getUpdateBy()
	{
		return (String) get("updateby");
	}
	public void setUpdateBy(String updateby)
	{
		set("updateby", updateby);
	}

	public Date getUpdateDate()
	{
		return (Date) get("updatedate");
	}
	public void setUpdateDate(Date updatedate)
	{
		set("updatedate", updatedate);
	}

	public String getAppAccess()
	{
		return (String) get("app_access");
	}
	public void setAppAccess(String app_access)
	{
		set("app_access", app_access);
	}

	public String getNamaPanjang()
	{
		return (String) get("nama_panjang");
	}
	public void setNamaPanjang(String nama_panjang)
	{
		set("nama_panjang", nama_panjang);
	}

}
